Optimal. Leaf size=89 \[ \frac{7 \sqrt{3 x^2-x+2}}{169 (2 x+1)}-\frac{\sqrt{3 x^2-x+2}}{26 (2 x+1)^2}-\frac{581 \tanh ^{-1}\left (\frac{9-8 x}{2 \sqrt{13} \sqrt{3 x^2-x+2}}\right )}{676 \sqrt{13}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0882716, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {1650, 806, 724, 206} \[ \frac{7 \sqrt{3 x^2-x+2}}{169 (2 x+1)}-\frac{\sqrt{3 x^2-x+2}}{26 (2 x+1)^2}-\frac{581 \tanh ^{-1}\left (\frac{9-8 x}{2 \sqrt{13} \sqrt{3 x^2-x+2}}\right )}{676 \sqrt{13}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1650
Rule 806
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{1+3 x+4 x^2}{(1+2 x)^3 \sqrt{2-x+3 x^2}} \, dx &=-\frac{\sqrt{2-x+3 x^2}}{26 (1+2 x)^2}-\frac{1}{26} \int \frac{-\frac{35}{2}-49 x}{(1+2 x)^2 \sqrt{2-x+3 x^2}} \, dx\\ &=-\frac{\sqrt{2-x+3 x^2}}{26 (1+2 x)^2}+\frac{7 \sqrt{2-x+3 x^2}}{169 (1+2 x)}+\frac{581}{676} \int \frac{1}{(1+2 x) \sqrt{2-x+3 x^2}} \, dx\\ &=-\frac{\sqrt{2-x+3 x^2}}{26 (1+2 x)^2}+\frac{7 \sqrt{2-x+3 x^2}}{169 (1+2 x)}-\frac{581}{338} \operatorname{Subst}\left (\int \frac{1}{52-x^2} \, dx,x,\frac{9-8 x}{\sqrt{2-x+3 x^2}}\right )\\ &=-\frac{\sqrt{2-x+3 x^2}}{26 (1+2 x)^2}+\frac{7 \sqrt{2-x+3 x^2}}{169 (1+2 x)}-\frac{581 \tanh ^{-1}\left (\frac{9-8 x}{2 \sqrt{13} \sqrt{2-x+3 x^2}}\right )}{676 \sqrt{13}}\\ \end{align*}
Mathematica [A] time = 0.0447765, size = 69, normalized size = 0.78 \[ \frac{\frac{26 (28 x+1) \sqrt{3 x^2-x+2}}{(2 x+1)^2}-581 \sqrt{13} \tanh ^{-1}\left (\frac{9-8 x}{2 \sqrt{13} \sqrt{3 x^2-x+2}}\right )}{8788} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.055, size = 74, normalized size = 0.8 \begin{align*} -{\frac{1}{104}\sqrt{3\, \left ( x+1/2 \right ) ^{2}-4\,x+{\frac{5}{4}}} \left ( x+{\frac{1}{2}} \right ) ^{-2}}+{\frac{7}{338}\sqrt{3\, \left ( x+1/2 \right ) ^{2}-4\,x+{\frac{5}{4}}} \left ( x+{\frac{1}{2}} \right ) ^{-1}}-{\frac{581\,\sqrt{13}}{8788}{\it Artanh} \left ({\frac{2\,\sqrt{13}}{13} \left ({\frac{9}{2}}-4\,x \right ){\frac{1}{\sqrt{12\, \left ( x+1/2 \right ) ^{2}-16\,x+5}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.59528, size = 111, normalized size = 1.25 \begin{align*} \frac{581}{8788} \, \sqrt{13} \operatorname{arsinh}\left (\frac{8 \, \sqrt{23} x}{23 \,{\left | 2 \, x + 1 \right |}} - \frac{9 \, \sqrt{23}}{23 \,{\left | 2 \, x + 1 \right |}}\right ) - \frac{\sqrt{3 \, x^{2} - x + 2}}{26 \,{\left (4 \, x^{2} + 4 \, x + 1\right )}} + \frac{7 \, \sqrt{3 \, x^{2} - x + 2}}{169 \,{\left (2 \, x + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.28669, size = 252, normalized size = 2.83 \begin{align*} \frac{581 \, \sqrt{13}{\left (4 \, x^{2} + 4 \, x + 1\right )} \log \left (-\frac{4 \, \sqrt{13} \sqrt{3 \, x^{2} - x + 2}{\left (8 \, x - 9\right )} + 220 \, x^{2} - 196 \, x + 185}{4 \, x^{2} + 4 \, x + 1}\right ) + 52 \, \sqrt{3 \, x^{2} - x + 2}{\left (28 \, x + 1\right )}}{17576 \,{\left (4 \, x^{2} + 4 \, x + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{4 x^{2} + 3 x + 1}{\left (2 x + 1\right )^{3} \sqrt{3 x^{2} - x + 2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.22116, size = 275, normalized size = 3.09 \begin{align*} \frac{581}{8788} \, \sqrt{13} \log \left (-\frac{{\left | -4 \, \sqrt{3} x - 2 \, \sqrt{13} - 2 \, \sqrt{3} + 4 \, \sqrt{3 \, x^{2} - x + 2} \right |}}{2 \,{\left (2 \, \sqrt{3} x - \sqrt{13} + \sqrt{3} - 2 \, \sqrt{3 \, x^{2} - x + 2}\right )}}\right ) + \frac{190 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} - x + 2}\right )}^{3} - 53 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} - x + 2}\right )}^{2} - 489 \, \sqrt{3} x + 289 \, \sqrt{3} + 489 \, \sqrt{3 \, x^{2} - x + 2}}{338 \,{\left (2 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} - x + 2}\right )}^{2} + 2 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} - x + 2}\right )} - 5\right )}^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]